home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000114-20000217 / 000126_news@columbia.edu _Mon Jan 24 10:27:29 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  1KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA10046
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 24 Jan 2000 10:27:29 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA25151
  7.     for kermit.misc@watsun.cc.columbia.edu; Mon, 24 Jan 2000 10:26:00 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Subject: Re: File deletion script
  11. Date: 24 Jan 2000 15:25:58 GMT
  12. Organization: Columbia University
  13. Message-ID: <86hqu6$oht$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@columbia.edu
  15.  
  16. In article <uRWi4.61$IP6.1737@news.kpnqwest.fi>,
  17. Antero Laitinen <antero.laitinen@yle.fi> wrote:
  18. : I would need a simple script to delete files older than one week in a
  19. : folder.  Anybody know of a web page where I could find such a script ?
  20. Here is such a script:
  21.  
  22.   ftp://kermit.columbia.edu/kermit/scripts/ckermit/delete
  23.  
  24. It is from the C-Kermit script library:
  25.  
  26.   http://www.columbia.edu/kermit/ckscripts.html
  27.  
  28. and is executed by C-Kermit 7.0:
  29.  
  30.   http://www.columbia.edu/kermit/ckermit.html
  31.  
  32. Some people might find the syntax:
  33.  
  34.   delete /before:-7days foldername/*
  35.  
  36. easier to cope with than that of 'find' :-)
  37.  
  38. - Frank